// TGFun.h: interface for the TGSocket.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TGFun_H__INCLUDED_)
#define AFX_TGFun_H__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
 
BOOL TGCheckFileExist( char *pszFile );
BOOL TGCreateDeepDir( char *pszDir );
/*delete all files and dir*/
BOOL TGDeleteDeepDir( char *pszDir );

BOOL TGCheckBufferSize(BYTE **ppBuffer,long &lSize,long lNewSize);
BOOL TGAutoExpandBufferSize(BYTE **ppBuffer,long &lSize,long lNewSize);

void TGMemCpyMMX(void* dst, void* src, unsigned int len);
 


#endif // !defined(AFX_TGFun_H__INCLUDED_)
